/*
 * Copyright (c) 2023 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Description: cast dlna manager interface.
 * Author: huangchanggui
 * Create: 2023-02-01
 */

#ifndef I_DLNA_STREAM_MANAGER_H
#define I_DLNA_STREAM_MANAGER_H

#include "i_dlna_player.h"
#include "i_dlna_stream_listener.h"

namespace OHOS {
namespace CastEngine {
namespace CastEngineService {
class IDlnaStreamManager {
public:
    virtual ~IDlnaStreamManager() = default;

    virtual void ProcessActionsEvent(int event, const std::string &param) = 0;

    static constexpr int MODULE_EVENT_ID_CONTROL_EVENT = 100;
    static constexpr int MODULE_EVENT_ID_CALLBACK_EVENT = 101;
    static constexpr int MODULE_EVENT_ID_CHANNEL_CREATE = 102;
    static constexpr int MODULE_EVENT_ID_CHANNEL_DESTROY = 103;
    static constexpr int MODULE_EVENT_ID_DLNA_CHANNEL = 104;
};
} // namespace CastEngineService
} // namespace CastEngine
} // namespace OHOS
#endif // DLNA_STREAM_PLAYER_H